package com.atguigu.encapsolation.one;

public class SamePackageTest {
    public static void main(String[] args) {
        Father f = new Father();
//        System.out.println("f.a = " + f.a);//因为a是private，出了Father就不可以直接访问
        System.out.println("f.b = " + f.b);
        System.out.println("f.c = " + f.c);
        System.out.println("f.d = " + f.d);
    }
}
